home *** CD-ROM | disk | FTP | other *** search
/ Revista do CD-ROM 97 / CD-ROM 97 / CD-ROM 97.iso / internet / ghostzilla / ghsetup.exe / chrome / chatzilla.jar / content / chatzilla / chatzilla.xul next >
Encoding:
Extensible Markup Language  |  2002-04-09  |  7.9 KB  |  193 lines

  1. <?xml version="1.0"?>
  2.  
  3. <!--
  4.    - The contents of this file are subject to the Mozilla Public
  5.    - License Version 1.1 (the "License"); you may not use this file
  6.    - except in compliance with the License. You may obtain a copy of
  7.    - the License at http://www.mozilla.org/MPL/
  8.    -  
  9.    - Software distributed under the License is distributed on an "AS
  10.    - IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
  11.    - implied. See the License for the specific language governing
  12.    - rights and limitations under the License.
  13.    - 
  14.    - The Original Code is JSIRC Test Client #3
  15.    - 
  16.    - The Initial Developer of the Original Code is New Dimensions Consulting,
  17.    - Inc. Portions created by New Dimensions Consulting, Inc. are
  18.    - Copyright (C) 1999 New Dimenstions Consulting, Inc. All
  19.    - Rights Reserved.
  20.    - 
  21.    - Contributor(s):
  22.    -  Robert Ginda, rginda@ndcico.com, original author
  23.    -  Josh Soref, timeless@mac.com, international support
  24.    -  Chiaki Koufugata chiaki@mozilla.gr.jp UI i18n
  25.    -->
  26.  
  27. <!DOCTYPE window SYSTEM "chrome://chatzilla/locale/chatzilla.dtd">
  28.  
  29. <?xml-stylesheet href="chrome://chatzilla/skin/chatzilla.css" type="text/css"?>
  30.  
  31. <?xul-overlay href="chrome://global/content/globalOverlay.xul"?>
  32. <?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?>
  33. <?xul-overlay href="chrome://chatzilla/content/scripts.xul"?>
  34. <?xul-overlay href="chrome://chatzilla/content/menus.xul"?>
  35. <?xul-overlay href="chrome://chatzilla/content/popups.xul"?>
  36.  
  37. <window id="chatzilla-window"
  38.   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
  39.   xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
  40.   orient="vertical" onload="onLoad();" onunload="onUnload();"
  41.   onclose="return onClose();" onmouseover="onMouseOver(event);"
  42.   persist="width height screenX screenY" windowtype="irc:chatzilla">
  43.  
  44.   <overlaytarget id="scripts-overlay-target"/>
  45.   <overlaytarget id="menu-overlay-target"/>
  46.   <overlaytarget id="popup-overlay-target"/>
  47.  
  48.   <vbox id="outer-box" flex="1">
  49.     <vbox id="upper-box" flex="1">
  50.       <hbox id="tabpanels-contents-box" flex="1">
  51.         <vbox id="user-list-box" width="20%" persist="collapsed width">
  52.  
  53.           <tree id="user-list" container="true" datasources="rdf:null" flex="1"
  54.             containment="http://home.netscape.com/NC-irc#chanuser"
  55.             seltype="multiple" context="userlistPopup">
  56.  
  57.             <template>
  58.               <rule>
  59.                 <conditions>
  60.                   <content uri="?container"/>
  61.                   <member container="?container" child="?member"/>
  62.                 </conditions>
  63.                 
  64.                 <bindings>
  65.                   <binding subject="?member" predicate="http://home.netscape.com/NC-irc#op" object="?op"/>
  66.                   <binding subject="?member" predicate="http://home.netscape.com/NC-irc#voice" object="?voice"/>
  67.                   <binding subject="?member" predicate="http://home.netscape.com/NC-irc#nick" object="?nick"/>
  68.                 </bindings>
  69.                 
  70.                 <action>
  71.                   <treechildren>
  72.                     <treeitem uri="?member" flex="1" properties="op-?op voice-?voice">
  73.                       <treerow>
  74.                           <treecell properties="state-?op"/>
  75.                           <treecell properties="state-?voice"/>
  76.                           <treecell label="?nick"/>
  77.                       </treerow>
  78.                     </treeitem>
  79.                   </treechildren>
  80.                 </action>
  81.               </rule>
  82.             </template>
  83.     
  84.             <treecols>
  85.               <treecol id="usercol-op" label="O"
  86.                 onclick="return onSortCol('usercol-op')"
  87.                 resource="http://home.netscape.com/NC-irc#op" width="25"/>
  88.               <splitter class="tree-splitter"/>
  89.               <treecol id="usercol-voice" label="V"
  90.                 onclick="return onSortCol('usercol-voice')"
  91.                 resource="http://home.netscape.com/NC-irc#voice" width="25"/>
  92.               <splitter class="tree-splitter"/>
  93.               <treecol id="usercol-nick" label="Nick" flex="1"
  94.                 onclick="return onSortCol('usercol-nick')"
  95.                 resource="http://home.netscape.com/NC-irc#nick"/>
  96.             </treecols>
  97.           </tree>
  98.     
  99.         </vbox> <!-- user-list-box -->
  100.   
  101.         <splitter id="main-splitter" collapse="before" persist="collapsed left">
  102.           <grippy/>
  103.         </splitter>
  104.   
  105.         <vbox flex="1">
  106.           <toolbox id="header-bar-tbox" crop="right" persist="collapsed">
  107.             <toolbar class="chromeclass-toolbar" id="header-bar-tbar"
  108.               grippytooltiptext="&header.tooltip;" crop="right">
  109.               <hbox flex="1" class="header-box">
  110.                 <vbox flex="1%">
  111.                   <label class="header-label" value="&url.label;"/>
  112.                   <label class="header-label" value="&topic.label;"/>
  113.                 </vbox>
  114.                 <vbox flex="99%">
  115.                   <hbox flex="1">
  116.                     <hbox flex="1">
  117.                       <label class="header-data" id="header-url"
  118.                         ondraggesture="nsDragAndDrop.startDrag(event, tabDNDObserver);"
  119.                         crop="right"/>
  120.                     </hbox>
  121.                     <hbox flex="1">
  122.                       <label class="header-label" value="&mode.label;"/>
  123.                       <label class="header-data" id="channel-mode"
  124.                         crop="right"/>
  125.                     </hbox>
  126.                     <hbox flex="1">
  127.                       <label class="header-label" value="&users.label;"/>
  128.                       <label class="header-data" id="channel-users"/>
  129.                     </hbox>
  130.                   </hbox>
  131.                   <hbox flex="1">
  132.                     <hbox flex="1">
  133.                       <label class="header-data" id="channel-topic" flex="1"
  134.                         crop="right" onclick="onTopicEditStart()">text</label>
  135.                       <textbox flex="1" id="channel-topicedit" collapsed="true"/>
  136.                     </hbox>
  137.                   </hbox>
  138.                 </vbox>
  139.               </hbox>
  140.   
  141.             </toolbar>
  142.           </toolbox>
  143.   
  144.           <browser id="output-iframe" class="output-container" type="content"
  145.             flex="1" tooltip="aHTMLTooltip" context="outputContext"
  146.             onload="scrollDown();"
  147.             onclick="focusInput()"
  148.             ondragover="nsDragAndDrop.dragOver(event, contentDropObserver);"
  149.             ondragdrop="nsDragAndDrop.drop(event, contentDropObserver);"
  150.             ondraggesture="nsDragAndDrop.startDrag(event, contentAreaDNDObserver);"
  151.             src="chrome://chatzilla/content/outputwindow.html"/>
  152.         </vbox>
  153.   
  154.       </hbox> <!-- tabpanels-contents-box -->
  155.     
  156.       <hbox id="tabstrip-box" flex="0" crop="right">
  157.         <scrollbox id="view-tabs" persist="collapsed" orient="horizontal"
  158.           flex="1">
  159.   
  160.           <hbox>
  161.           <tabs class="tabs-bottom" id="views-tbar-inner" flex="1" crop="right">
  162.             <tab collapsed="true"/> <!-- dummy tab to keep the freaking xbl from 
  163.                                          causing an exception -->
  164.           </tabs>
  165.           </hbox>
  166.         </scrollbox>
  167.       </hbox>
  168.   
  169.     </vbox> <!-- upper-box -->
  170.   
  171.     <splitter id="input-splitter" orient="vertical" collapse="after"
  172.       collapsed="true"/>
  173.   
  174.     <hbox id="input-widgets">
  175.       <text id="server-nick" value=""/>
  176.       <textbox id="multiline-input" multiline="true" flex="1" height="100px"
  177.         class="multiline-input-widget" collapsed="true" autostretch="true"
  178.         onfocus="onInputFocus();"/>
  179.       <textbox id="input" class="input-widget" flex="1" autostretch="true"
  180.         onfocus="onInputFocus();"/>
  181.     </hbox>
  182.   </vbox> <!-- outer-box -->
  183.   
  184.   <statusbar id="status-bar" persist="collapsed">
  185.     <statusbarpanel id="component-bar"/>
  186.     <statusbarpanel id="status-text" label="&StatusText.label;" flex="1"
  187.       crop="right"/>
  188.     <statusbarpanel class="statusbarpanel-icononly" id="offline-status"
  189.       hidden="true" offline="true"/>
  190.   </statusbar>  
  191.   
  192. </window>
  193.